<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>预测明细</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            font-size: 12px;
        }
        h1 {
            text-align: center;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        table, th, td {
            border: 1px solid #ddd;
        }
        th, td {
            padding: 10px;
            text-align: center;
        }
        th {
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>
<h1>预测明细</h1>
<div class="container">
    <table>
        <thead>
        <tr>
            <th>预测唯一标识</th>
            <th>预测批次号</th>
            <th>预测结果</th>
            <th>预测收盘时间</th>
            <th>预测收盘价格</th>
            <th>预测创建时间</th>
            <th>币种名称</th>
            <th>周期维度</th>
            <th>结果代码</th>
            <th>当前收盘价</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="prediction : ${predictions}">
            <td th:text="${prediction.predictUniqueTag}"></td>
            <td th:text="${prediction.predictBatchNum}"></td>
            <td th:text="${prediction.predictResult}"></td>
            <td th:text="${prediction.predictClosetime}"></td>
            <td th:text="${prediction.predictCloseprice}"></td>
            <td th:text="${prediction.predictCreateat}"></td>
            <td th:text="${prediction.currencyName}"></td>
            <td th:text="${prediction.periodDimension}"></td>
            <td th:text="${prediction.resultCode}"></td>
            <td th:text="${prediction.currentClosePrice}"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
